<html>
  <head>
    <title>RFC4627 JSON-RPC test</title>
    <script type="text/javascript" src="prototype-1.4.0.js"></script>
    <script type="text/javascript" src="json.js"></script>
    <script type="text/javascript" src="jsonrpc.js"></script>
    <script type="text/javascript" src="test-client.js"></script>
  </head>
  <body>
    <h1>RFC4627 JSON-RPC test</h1>
    <p>
      Expect to see: "Starting" and "ErlangServer: Hello, world!", followed by false.
    </p>
    <pre id="testOutput"></pre>
    <p>
      Click the following button to crash the server process:
    </p>
    <button id="crashButton">Crash</button>
    <script>Event.observe(window, 'load', testMain);</script>
  </body>
</html>
